Remember to Back up your files before you try this, there is no gaurantee that this will work at all.
These Are the Modified Files:
showflat.php
showthreaded.php
In showflat.php, find this:
[:blue]
echo "
</table></td></tr>
<tr><td colspan=3 class="lighttable">
<p class="post">
<BR><BR><SPAN CLASS="post">$Body</span>
<BR><BR>
</td></tr><tr><td colspan=3 class="body"></td></tr>
";
and change it to:
[:red]
echo "
</table></td></tr>
<tr><td colspan=3 class="lighttable">
<p class="post">
<BR><BR><SPAN CLASS="post">$Body</span>
<BR><BR>";
if ($File) {
if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");
echo "<IMG SRC="$config[fileurl]/$File" Border="0">";
}
echo "
</td></tr><tr><td colspan=3 class="body"></td></tr>
";
and then find:
[:blue]
echo "
</td></tr></table></td></tr>
<tr><td width=83% class="lighttable">
<P class="post">
$Body
<BR><BR>
</td></tr>
";
and change it so it looks like this:
[:red]
echo "
</td></tr></table></td></tr>
<tr><td width=83% class="lighttable">
<P class="post">
$Body
<BR><BR>
";
if ($File) {
if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");
echo "<IMG SRC="$config[fileurl]/$File" Border="0">";
}
echo "
</td></tr>
";
in showthreaded.php find this:
[:blue]
echo "
echo "
</table></td></tr>
<tr><td colspan=3 class="lighttable">
<p class="post">
<BR><BR><SPAN CLASS="post">$Body</span>
<BR><BR>
</td></tr><tr><td colspan=3 class="body"></td></tr>
";
and change it to look like this:
[:red]
echo "
</table></td></tr>
<tr><td colspan=3 class="lighttable">
<p class="post">
<BR><BR><SPAN CLASS="post">$Body</span>
<BR><BR>";
if ($File) {
if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");
echo "<IMG SRC="$config[fileurl]/$File" Border="0">";
}
echo "</td></tr><tr><td colspan=3 class="body"></td></tr>
";
then find this:
[:blue]
echo "
</td></tr></table></td></tr>
<tr><td width=83% class="lighttable">
<P class="post">
$Body
<BR><BR>
</td></tr>
";
and change it so it looks like this
[:red]
echo "
</td></tr></table></td></tr>
<tr><td width=83% class="lighttable">
<P class="post">
$Body
<BR><BR>
";
if ($File) {
if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");
echo "<IMG SRC="$config[fileurl]/$File" Border="0">";
}
echo "</td></tr>
";
i uploaded the text file also.
example at
http://www.extremeforums.org/showfl...=78&page=0&view=collapsed&sb=5&part=&vc=[:red]--------------
http://extremeforums.org/index